package com.zyw.mvc.exception;

/**
 * @author vill on 15/12/31 13:00.
 * @desc 请求未认证异常
 */
public class UnauthorizedException extends AbstractDefaultException {

    @Override
    public Integer getCode() {
        return -401;
    }

    public UnauthorizedException() {
    }

    public UnauthorizedException(String message) {
        super(message);
    }

    public UnauthorizedException(String message, Throwable cause) {
        super(message, cause);
    }

    public UnauthorizedException(Throwable cause) {
        super(cause);
    }

    public UnauthorizedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
